CVE-2026-45758
Malicious code in guardrails-ai 0.10.1 (supply chain compromise)
Description
Guardrails AI is a Python framework that helps build AI applications. On May 11, 2026 at approximately 6:00 PM Pacific, an attacker published a malicious version of `guardrails-ai` (0.10.1) to PyPI. Aany user who installed `guardrails-ai==0.10.1` from PyPI on May 11, 2026 may be affected. Security researchers identified the malicious package within approximately 2 hours of publication, and PyPI quarantined the repository. Based on our telemetry, Guardrails AI maintainers have observed no requests to Guardrails AI infrastructure originating from the malicious 0.10.1 version, and a review of system and access logs has produced no evidence of user data exfiltration through their systems. Users should upgrade to version 0.10.2 or downgrade to version 0.10.0, both of which are unaffected. Those who installed version 0.10.1 should rotate any credentials accessible from their machine (GitHub PATs, cloud provider keys, package registry tokens, API keys) and audit their GitHub account for unauthorized workflows or repositories.
INFO
Published Date :
June 5, 2026, 8:17 p.m.
Last Modified :
June 8, 2026, 3:22 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | CRITICAL | [email protected] |
Solution
- Upgrade to version 0.10.2 or downgrade to 0.10.0.
- Rotate all accessible credentials.
- Audit GitHub account for unauthorized changes.
Public PoC/Exploit Available at Github
CVE-2026-45758 has a 2 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-45758.
| URL | Resource |
|---|---|
| https://github.com/guardrails-ai/guardrails/blob/main/SECURITY_ADVISORY.md | Vendor Advisory |
| https://github.com/guardrails-ai/guardrails/issues/1473 | Issue Tracking |
| https://github.com/guardrails-ai/guardrails/security/advisories/GHSA-xmpw-2vmm-p4p6 | Mitigation Vendor Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-45758 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-45758
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
Python
None
Jupyter Notebook Python
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-45758 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-45758 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jun. 08, 2026
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:guardrailsai:guardrails_ai:0.10.1:*:*:*:*:python:*:* Added Reference Type GitHub, Inc.: https://github.com/guardrails-ai/guardrails/blob/main/SECURITY_ADVISORY.md Types: Vendor Advisory Added Reference Type GitHub, Inc.: https://github.com/guardrails-ai/guardrails/issues/1473 Types: Issue Tracking Added Reference Type GitHub, Inc.: https://github.com/guardrails-ai/guardrails/security/advisories/GHSA-xmpw-2vmm-p4p6 Types: Mitigation, Vendor Advisory -
New CVE Received by [email protected]
Jun. 05, 2026
Action Type Old Value New Value Added Description Guardrails AI is a Python framework that helps build AI applications. On May 11, 2026 at approximately 6:00 PM Pacific, an attacker published a malicious version of `guardrails-ai` (0.10.1) to PyPI. Aany user who installed `guardrails-ai==0.10.1` from PyPI on May 11, 2026 may be affected. Security researchers identified the malicious package within approximately 2 hours of publication, and PyPI quarantined the repository. Based on our telemetry, Guardrails AI maintainers have observed no requests to Guardrails AI infrastructure originating from the malicious 0.10.1 version, and a review of system and access logs has produced no evidence of user data exfiltration through their systems. Users should upgrade to version 0.10.2 or downgrade to version 0.10.0, both of which are unaffected. Those who installed version 0.10.1 should rotate any credentials accessible from their machine (GitHub PATs, cloud provider keys, package registry tokens, API keys) and audit their GitHub account for unauthorized workflows or repositories. Added CVSS V3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H Added CWE CWE-506 Added Reference https://github.com/guardrails-ai/guardrails/blob/main/SECURITY_ADVISORY.md Added Reference https://github.com/guardrails-ai/guardrails/issues/1473 Added Reference https://github.com/guardrails-ai/guardrails/security/advisories/GHSA-xmpw-2vmm-p4p6